package com.mad.bakergps;

import java.io.IOException;
import java.util.ArrayList;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
import com.madc.bakergps.R;
import android.app.Activity;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView.*;
import android.widget.*;


//TODO: Make an way to pass pathfinding into this activity
public class threedmaps extends Activity {
	ImageView threeDView;
	int picIndex;
	int[] argArray;
	pathFinding thePathFinder;
	  public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.main);
	        threeDView= (ImageView) findViewById(R.id.imageView1);
	        thePathFinder= new pathFinding();
	        
	        
	  }
	  
	  
	  public void switchPic()
	  {
		  threeDView.setImageResource(argArray[picIndex]);
		  if (picIndex<argArray.length){
		  	picIndex++;
		  }
		  
	  }

}
